package com.docker.serverconsumer.service.hello.HelloService;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service-producer")
public interface HelloService {
    @RequestMapping(value = "/hi",method = RequestMethod.GET)
    String getHi();
}
